import React from 'react'
import { BrowserRouter as Router, Route, Switch, Redirect } from 'react-router-dom'
import Login from '../componets/Login'
import Land from '../componets/Land'
import Vider from '../componets/MV_Rankings'
import MVPlay from '../componets/MV_paly'
import Account from '../componets/Account'
import Version from '../componets/Account_Version'
import TAB from '../componets/Public_TAB'
import Mymsg from '../componets/Account_Mymsg'
import Song from '../componets/Song_List_Template'
import Discover from '../componets/Discover'
import Top from "../componets/Top"
import Search from "../componets/Search"
export default () => (
        <Router>
        <Switch>
            <Route path="/Login" component={Login}></Route>
            <Route path="/Land" component={Land}></Route>
            <Route path="/Vider" component={Vider}></Route>
            <Route path="/MVPlay" component={MVPlay}></Route>
            <Route path="/Account" component={Account}></Route>
            <Route path="/TAB" component={TAB}></Route>
            <Route path="/Version" component={Version}></Route>
            <Route path="/Mymsg" component={Mymsg}></Route>
            <Route path="/Song" component={Song}></Route>
            <Route path="/Discover" component={Discover}></Route>
            <Route path="/Top" component={Top}></Route>
            <Route path="/Search" component={Search}></Route>
       
           
            <Redirect from="/" to="/Song" />
        </Switch>
        </Router>
    )